package com.winhxd.b2c.common.domain.customer.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author caiyulong
 */
@Data
public class CustomerWallet {
    private Long id;

    private Long customerId;

    private BigDecimal lowerRevenue;

    /**
     * @see com.winhxd.b2c.common.domain.customer.enums.CustomerRevenueEnum
     */
    private Byte level;

    private BigDecimal totalRevenue;

    private BigDecimal balance;

    private BigDecimal withdraw;

    private Integer withdrawNumber;

    private Integer totalIntegral;

    private Integer remainIntegral;

    private Integer consumedIntegral;

    private Integer consumeIntegralNumber;

    private Date created;

    private Date updated;

}